<?php
if (!defined('WEB_ROOT')) {
	exit;
}

$self = WEB_ROOT . 'admin/index.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html><!-- Source is http://www.gallyapp.com/tf_themes/weadmin/dashboard_blue.html?username=&password=&submit=Login --> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
 
<!-- Website Title --> 
<title><?php echo $pageTitle; ?></title>

<!-- Meta data for SEO -->
<meta name="description" content="">
<meta name="keywords" content="">

<!-- Template stylesheet -->
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/screen.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/datepicker.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/tipsy.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/visualize.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.wysiwyg.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.fancybox-1.3.0.css" rel="stylesheet" type="text/css" media="all">
<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/tipsy.css" rel="stylesheet" type="text/css" media="all">

<!--[if IE]>
	<link href="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/ie.css" rel="stylesheet" type="text/css" media="all">
	<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/excanvas.js"></script>
<![endif]-->

<!-- Jquery and plugins -->
<!---thêm -->
<script language="JavaScript" type="text/javascript" src="<?php echo WEB_ROOT;?>library/common.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery-ui.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.img.preload.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/hint.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.visualize.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.fancybox-1.3.0.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/jquery.tipsy.js"></script>
<script type="text/javascript" src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/custom_blue.js"></script>
<?php
$n = count($script);
for ($i = 0; $i < $n; $i++) {
	if ($script[$i] != '') {
		echo '<script language="JavaScript" type="text/javascript" src="' . WEB_ROOT. 'admin/library/' . $script[$i]. '"></script>';
	}
}
	/*$sql1 = "SELECT COUNT(*) as sonhom FROM nhomnc"
	$result1 = dbQuery($sql1);
	if (mysql_num_rows($result1)<>0){
		while ($row = mysql_fetch_array($result1))
			$sonhom = $row["sonhom"];
	}
	<?php echo $sonhom; ?>*/
?>
</head>
<body>
<div class="content_wrapper">
	<!-- Begin header -->
	<div id="header">
		<div id="logo">
			<img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/logo.png" alt="logo"/>
		</div>
		<div id="search">
			<form action="dashboard.html" id="search_form" name="search_form" method="get">
				<input type="text" id="q" name="q" title="Search" class="search noshadow"/>
			</form>
		</div>
		<div id="account_info">
			<img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_online.png" alt="Online" class="mid_align"/>
			Hello <a href="<?php echo WEB_ROOT; ?>admin/">Admin</a> (<a href="<?php echo WEB_ROOT; ?>admin/">1 new message</a>) | <a href="<?php echo WEB_ROOT; ?>admin/">Setting</a> | <a href="<?php echo $self; ?>?logout">Thoát</a>
		</div>
	</div>
	<!-- End header -->

	<!-- Begin left panel -->
	<a href="javascript:;" id="show_menu">&raquo;</a>
	<div id="left_menu">
		<a href="javascript:;" id="hide_menu">&laquo;</a>
		<ul id="main_menu">
			<li><a href="<?php echo WEB_ROOT; ?>admin/"><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_home.png" alt="Home"/>Trang chủ</a></li>
			<li>
				<a id="menu_pages" href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_pages.png" alt="Pages"/>Quản lý danh mục</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/nhom_tac_gia">Nhóm nghiên cứu (17)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/tac_gia">Tác giả (1000)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/nhom_de_tai">Nhóm ngành (40)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/giaotrinh_tailieu">Giáo trình - Tài liệu (40)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/hoapham_sanpham">Họa phẩm - Sản phẩm (40)</a></li>
				</ul>
			</li>
			<li>
				<a href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_posts.png" alt="Posts"/>Q.lý công trình NCKH</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/de_tai_nckh">Đề tài NCKH (30)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/bai_bao">Bài báo (12)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/seminar">Seminar - Hội thảo</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/nckh_sv">NCKH của Sinh viên</a></li>
				</ul>	
			</li>
			<li>
				<a href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_media.png" alt="Media"/>Quản lý khác</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/don_vi">Đơn vị (10)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/truong">Trường (10)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/tap_chi">Tạp chí (10)</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/tin_tuc">Tin tức</a></li>
				</ul>
			</li>
			<li>
				<a href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_media.png" alt="Media"/>Thống kê - báo cáo</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/thong_ke/">Thống kê</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/thong_ke/baocao">Báo cáo</a></li>
				</ul>
			</li>
			<li>
				<a href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_users.png" alt="Users"/>Quản lý Người dùng</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/">Thêm mới</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/user">Danh sách người dùng</a></li>
					<li><a href="<?php echo WEB_ROOT; ?>admin/">Thông tin cá nhân</a></li>
				</ul>	
			</li>
			<li>
				<a href=""><img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/icon_media.png" alt="Media"/>Sao lưu dữ liệu</a>
				<ul>
					<li><a href="<?php echo WEB_ROOT; ?>admin/sao_luu">Sao lưu</a></li>
				</ul>
			</li>
		</ul>
		<br class="clear"/>
		
		<!-- Begin left panel calendar -->
		<div id="calendar"></div>
		<!-- End left panel calendar -->
		
	</div>
	<!-- End left panel -->
	
	<!-- Begin content -->
	<div id="content">
		<div class="inner">
			<h1>Thông kê</h1>
			
			<!-- Begin shortcut menu -->
			<ul id="shortcut">
    			<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" id="shortcut_home" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/home.png" alt="home"/><br/>
				    <strong>Home</strong>
				  </a>
				</li>
    			<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/calendar.png" alt="calendar"/><br/>
				    <strong>Calendar</strong>
				  </a>
				</li>
    			<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/stats.png" alt="stats"/><br/>
				    <strong>Stats</strong>
				  </a>
				</li>
				<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/setting.png" alt="setting"/><br/>
				    <strong>Setting</strong>
				  </a>
				</li>
				<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" id="shortcut_contacts" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/contacts.png" alt="contacts"/><br/>
				    <strong>Contacts</strong>
				  </a>
				</li>
				<li>
    			  <a href="<?php echo WEB_ROOT; ?>admin/modal_window.html" id="shortcut_posts" title="Click me to open modal window">
				    <img src="<?php echo WEB_ROOT; ?>admin/include/dashboard_blue/posts.png" alt="posts"/><br/>
				    <strong>Posts</strong>
				  </a>
				</li>
  			</ul>
			<!-- End shortcut menu -->
			
			<!-- Begin shortcut notification -->
			<div id="shortcut_notifications">
				<span class="notification" rel="shortcut_home">10</span>
				<span class="notification" rel="shortcut_contacts">5</span>
				<span class="notification" rel="shortcut_posts">1</span>
			</div>
			<!-- End shortcut noficaton -->
			
			
			<br class="clear"/>
			
			<?php
				require_once $content;	 
			?>

		</div>
		
		<br class="clear"/><br class="clear"/>
		
		
		<!-- Begin footer -->
		<div id="footer">
			Copyright &copy; 2011 - <?php echo date('Y'); ?> <a href=""> Phòng khoa học công nghệ, hợp tác và sau đại học</a>
		</div>
		<!-- End footer -->
		
		
	</div>
	<!-- End content -->
</div>
</body>
</html>